
.block_image_text .content_wrap {
  position: relative;
}

.block_image_text.float_box {
  color: #fff;
}

.block_image_text.float_box h2 {
  color: #fff !important;
}

@media screen and (max-width: 767px) {
  .block_image_text.float_box .content_wrap {
    background-color: #0f0c0d;
    padding: 20px;
  }
}

@media screen and (min-width: 768px) {
  .block_image_text.float_box .content_wrap {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .block_image_text.float_box .text_content {
    position: absolute;
    max-width: 80%;
  }
  .block_image_text.float_box .image_box {
    position: relative;
  }
  .block_image_text.float_box .image_box .mask {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(33, 28, 28, 0.7) 0%, rgba(33, 28, 28, 0) 136.62%);
  }
}

.block_image_text .image_box {
  margin-bottom: 35px;
}

.block_image_text .image_box img {
  width: 100%;
}

.block_image_text .text_content {
  box-sizing: border-box;
}

@media screen and (min-width: 1201px) {
  .block_image_text .text_content {
    margin: 0 108px;
  }
}

.block_image_text .text_content .subtitle {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 12px;
}

@media screen and (max-width: 767px) {
  .block_image_text .text_content .content {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }
  .block_image_text .text_content .content h2 {
    line-height: 30px;
  }
}

@media screen and (min-width: 768px) {
  .block_image_text .text_content .content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 60px;
  }
}

.block_image_text .text_content .content h2 {
  color: var(--title_color);
  font-weight: 500;
  font-size: 40px;
}

@media screen and (max-width: 767px) {
  .block_image_text .text_content .content h2 {
    font-size: 28px;
  }
}

